package com.singfan.core.dao.database;

import com.singfan.core.dao.database.model.Customer;

import java.util.List;

/**
 *
 * Author: hansonghe
 * Date: 2015-08-19 12:12
 * Desc:
 */
public interface ICustomerDao {
    Customer findCustomer(long customerId);

    Customer findCustomerByPhoneNumber(String phoneNumber);

    void createCustomer(Customer customer);

    void updatePhoneTypeAndCityId(long customerId, String phoneType, int cityId);

    void update(Customer customer);

    List<Long> selectAllCustomerIdList();

    boolean isDisabledAccount(String phoneNumber);

    void updateCustomerStatus(long customerId, int status);
}